public class Main {
    public static void main(String [] args){
        try{
            System.out.println("Making...");
            Directory rootdir = new Directory("root");
            Directory bindir = new Directory("bin");
            Directory tmpdir = new Directory("tmp");
            rootdir.add(bindir);
            rootdir.add(tmpdir);
            rootdir.printList();
        } catch (FileTreatmentException e){
            e.printStackTrace();
        }
    }
}
